-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: euclid v2 #158
base: scroll
Are you sure you want to change the base?
feat: euclid v2 #158
Conversation
CodSpeed Performance ReportMerging #158 will not alter performanceComparing Summary
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the help on this! I think we might be missing modifications to the following related to Euclid:
ScrollHardforkInfo
for struct itself.ScrollHardfork
forscroll_mainnet
andscroll_sepolia
.impl From<Genesis> for ScrollChainSpec
for the Euclid changes.
@@ -107,6 +110,7 @@ impl ScrollHardfork { | |||
Self::Curie => Some(7096836), | |||
Self::Darwin => Some(8568134), | |||
Self::DarwinV2 => Some(8923772), | |||
_ => None, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we have Self::Euclid
and Self::EuclidV2
as Some(0)?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think that's something TBD?
Some(0) means enabled on the genesis which should not be as expected?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oh right, maybe just add a TODO?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just realized we also need to modify the ScrollExecutionStrategy
implementation of the BlockExecutionStrategy::execute_transactions
, to only skip EIP-7702 transactions before Euclid.
closes: #143